package com.es.config;

import com.es.properties.EsProperties;
import com.es.EsTool;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

@Configuration
public class EsConfiguration {

    @Bean
    public EsTool esTool(){
        return new EsTool();
    }
    @Bean
    public EsProperties esProperties(){
        return new EsProperties();
    }

}
